package me.kagami.exex.intercepter;

import java.util.List;

import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;

import me.kagami.exex.Context;

public class InsertDataIntercepter {

	public Context context;

	public <T> void beforeInsertData(Cell cell, T data, int rowNumber, int colNumber) {

	}

	public <T> void afterInsertData(Cell cell, T data, int rowNumber, int colNumber) {

	}

	public <T> void beforeInsertRow(Row row, T dataBean, int rowNumber) {

	}

	public <T> void afterInsertRow(Row row, T dataBean, int rowNumber) {

	}

	public void beforeAssembleData(Sheet sheet, List<?> dataList, int beginRowNum, int beginColNum) {

	}

	public void afterAssembleData(Sheet sheet, List<?> dataList) {

	}

	public Context getContext() {
		return context;
	}

	public void setContext(Context context) {
		this.context = context;
	}

}